package com.qf.dto;

import com.qf.entity.MallGoodsSpecEntity;
import com.qf.entity.MallGoodsSpecOptionsEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "商品信息实体类")
public class GoodsDto {
    @ApiModelProperty("规格实体类")
    private MallGoodsSpecEntity spec;

    @ApiModelProperty("选项实体类")
    private List<MallGoodsSpecOptionsEntity> optionsEntities;
}
